﻿<%@ Page Title="" Language="C#" MasterPageFile="~/teacheryemian/teachermain.Master" AutoEventWireup="true" CodeBehind="teajiangcheng.aspx.cs" Inherits="zlh.teacheryemian.teajiangcheng" %>
<asp:Content ID="Content1" ContentPlaceHolderID="teaContentPlaceHolder1" runat="server">
    <p>
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <asp:Label ID="coursename" runat="server" CssClass="word" Text="学号："></asp:Label>
        <asp:TextBox ID="counametxt" runat="server" CssClass="textbox"></asp:TextBox>
        <asp:Button ID="selectname" runat="server" CssClass="button" Text="Button" />
    <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" DataSourceID="SqlDataSource1" HorizontalAlign="Center" Width="766px">
        <Columns>
            <asp:BoundField DataField="stuNo" HeaderText="stuNo" SortExpression="stuNo" />
            <asp:BoundField DataField="stuName" HeaderText="stuName" SortExpression="stuName" />
            <asp:BoundField DataField="jiangchengleibie" HeaderText="jiangchengleibie" SortExpression="jiangchengleibie" />
            <asp:BoundField DataField="text" HeaderText="text" SortExpression="text" />
            <asp:BoundField DataField="jiafenshu" HeaderText="jiafenshu" SortExpression="jiafenshu" />
        </Columns>
        <HeaderStyle CssClass="gridxiewHeaderstyle" />
        <RowStyle CssClass="gridviewrowstyle" />
    </asp:GridView>
    <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:dhd2014112130ConnectionString14 %>" SelectCommand="SELECT * FROM [jiangcheng] WHERE ([stuNo] = @stuNo)">
        <SelectParameters>
            <asp:ControlParameter ControlID="counametxt" Name="stuNo" PropertyName="Text" Type="String" />
        </SelectParameters>
    </asp:SqlDataSource>
</p>
<p>
    &nbsp;</p>
<p>
    &nbsp;</p>
<p>
    &nbsp;</p>
<p>
    &nbsp;</p>
    <asp:GridView ID="GridView2" runat="server" AutoGenerateColumns="False" DataSourceID="SqlDataSource2" HorizontalAlign="Center" Width="775px">
        <Columns>
            <asp:BoundField DataField="stuNo" HeaderText="stuNo" SortExpression="stuNo" />
            <asp:BoundField DataField="stuName" HeaderText="stuName" SortExpression="stuName" />
            <asp:BoundField DataField="jiangchengleibie" HeaderText="jiangchengleibie" SortExpression="jiangchengleibie" />
            <asp:BoundField DataField="text" HeaderText="text" SortExpression="text" />
            <asp:BoundField DataField="jiafenshu" HeaderText="jiafenshu" SortExpression="jiafenshu" />
        </Columns>
        <HeaderStyle CssClass="gridxiewHeaderstyle" />
        <RowStyle CssClass="gridviewrowstyle" />
    </asp:GridView>
    <asp:SqlDataSource ID="SqlDataSource2" runat="server" ConnectionString="<%$ ConnectionStrings:dhd2014112130ConnectionString14 %>" SelectCommand="SELECT * FROM [jiangcheng]">
    </asp:SqlDataSource>
</asp:Content>
